summaryrefslogtreecommitdiffstats
path: root/gtk/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: fix an issue with hud widget sytle overridesjstebbins2010-03-111-1/+8
| | | | | | | | The overrides are based on widget name, and the names are no longer being set by GtkBuilder. So I have to set them myself. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3161 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a bunch of brokenness on Ubuntu 10.04 (lucid)jstebbins2010-02-231-2/+2
| | | | | | | | | | | gtk 2.19 has changed how object id's are stored by gtkbuilder. The widget name is no longer assigned to the builder object id. Instead the id is stored in a special property. Getting incorrect object id's caused all settings values to be referenced incorrectly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3135 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix an issue with column width in the audio treeviewjstebbins2009-11-231-4/+4
| | | | | | | on some displays, the columns were too wide and caused horiz scrolling git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2960 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: adjust some widget sizes to prevent window resizing at random timesjstebbins2009-11-231-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2958 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: force button images to be always enabledjstebbins2009-11-201-0/+2
| | | | | | | | A change in gnome/gtk makes button images invisible if the button has a label. This is pure idiocy, so I'm overriding it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2946 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: adjust the width of the subtitle listjstebbins2009-11-021-4/+4
| | | | | | | the narrower main window was causing it to scroll horizontally git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2911 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use a smaller font in audio settings controlsjstebbins2009-11-021-5/+5
| | | | | | | allows a small reduction in the width of the main window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2910 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make the activity window a little widerjstebbins2009-10-061-2/+4
| | | | | | | and make the label showing the location of the activity log file big/bold git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2872 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: create a queue lock file to prevent simultaneous access to the queuejstebbins2009-10-041-0/+15
| | | | | | | from 2 running instances of ghb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: more preset list improvementsjstebbins2009-07-111-3/+8
| | | | | | | | - Make separate menu items for creating new folders and saving presets - Make custom preset and folder names editable git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2684 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem with subtitle controls and large fontsjstebbins2009-07-021-0/+15
| | | | | | | | the controls would get the bottoms clipped if you used a large font git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2658 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: limit field width of srt filename in the subtitle listjstebbins2009-06-301-0/+1
| | | | | | | to prevent horizontal scrolling of the list git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2649 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: SRT supportjstebbins2009-06-301-5/+15
| | | | | | | | | | | | | | | | - there are now two buttons to add subtitles one button adds normal subtitles from the source. the second adds SRT subtitles. - when an SRT subtitle is selected in the list, the available controls change SRT controls are: Language, Character Codeset, File, and Time Offset (ms) - A combo entry box is used for character code. A subset of the most common character codes is available in the popup. Other codes can be manually entered in the entry box. - The last used SRT file directory is remembered. - Remove the debug printf eddyg left in decsrtsub.c git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2648 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: modify behavior of system tray iconjstebbins2009-06-261-5/+3
| | | | | | | | | | - clicking raises hb if iconified or obscured, iconifies if hb unobscured - when hb is iconified via the system tray icon, remove it from taskbar - preference option now enables/disables system tray icon git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2624 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make mingw gtk ui work again.jstebbins2009-06-241-0/+1
| | | | | | | neglect caused it become broken git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2610 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add audio-dub/add-subtitle radio buttons for preferred language controljstebbins2009-06-221-2/+4
| | | | | | | | | | - When Audio DUB is enabled, behavior is essentially unchanged - When Add Subtitle is enabled, a subtitle of the preferred language will be added to the subtitle list when the preferred language does not match the first audio track. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2600 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make status icon code backwards compatible to gtk 2.10jstebbins2009-06-201-0/+11
| | | | | | | | | There's a new status icon api in 2.16 that is not backwards compatible. The depricated interface is broken in 2.16, so ifdef the code to use older api only when older gtk versions are used. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2589 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: jstebbins2009-06-191-0/+1
| | | | | | | | | | - clear the dvd volume name cache when rescanning the attached dvd devices. - also protect the cache with a mutex to prevent the unlikely-but-possible collision between threads. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2579 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Put DVD volume name scanning on it's own thread.jstebbins2009-06-191-1/+1
| | | | | | | | | | At startup, I scan all dvd devices for their volume names. Usually this information is cached by the filesystem so this is fast. But every once in a while this takes several seconds which delays the initial display of the UI. This activity is now on it's own thread to prevent the delay. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2578 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make the status icon in the system tray a bit more usefuljstebbins2009-06-171-0/+9
| | | | | | | | | | | Succumbing to the pleading of users... - Use HB icon for status - Add tooltip to status icon that shows progress - Add preference option to skip the taskbar. So clikcing on the status icon un-minimizes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2565 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add preference for update check frequencyjstebbins2009-06-171-4/+1
| | | | | | | | Options are Never, Daily, Weekly, and Monthly. Default is Weekly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2561 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: replace drc hscale with scalebuttonjstebbins2009-06-081-0/+1
| | | | | | | | | scale button pops up a scale when needed, so is more compact. audio settings now all fit in one row. this opens the possibility of making the audio tab behave more like the mac ui's git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2503 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: when preview window is really small, the hud can be wider thanjstebbins2009-06-051-1/+1
| | | | | | | the image. center the image when this is the case. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2490 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make default width of subtitle track colum wider so that itjstebbins2009-06-031-0/+2
| | | | | | | doesn't need to readjust it's size when a longer subtitle is added git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2478 b64f7644-9d1e-0410-96f1-a4d463321fa5
* softsubs:jstebbins2009-06-031-23/+11
| | | | | | | | | | | | | | - add ability to have 1 source subtitle feed many output subtitles use hb_subtitle_add() to add output tracks. example use case: you want forced subtitles from a source track on one output track and the entire subtitle stream from the same source track on a second output track - LinGui: make subtitle tab resemble functionality of the audio tab any track can be added multiple times with different settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2476 b64f7644-9d1e-0410-96f1-a4d463321fa5
* softsubtitles:jstebbins2009-06-021-5/+14
| | | | | | | | | | | | | | | | | | - when doing an indepth scan, do not scan CC tracks - separate subtitle configureation attributes into separate hb_subtitle_config_t. Add an instance of this to hb_job_t for setting the attributes of the subtitle found through an indepth scan - Add a default_track flag to hb_subtitle_config_t that tells the muxer that the track should be flaged as the default. muxmkv uses this. - When an indepth scan is complete, check to see if the autoselected subtitle matchces (by id) one of the manually selected subtitles. If a match is found, the autoselected subtitle with all the attributes the user assigned to it replaces the manually selected subtitle. - LinGui: Add "Default" column to subtitle tab. This is a radio that lets the user choose which subtitle should be displayed by default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2468 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: automatically update the built-in presets when the hb build number ↵jstebbins2009-05-261-1/+1
| | | | | | changes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2453 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-221-0/+4
| | | | | | reload subtitles properly when a queue item is edited git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2438 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-211-11/+15
| | | | | | | add 'enable' checkbox to subtitle list and show all subtitles in the list after scanning. Thanks eddyg for the suggestions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2434 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-201-1/+6
| | | | | | | - Move the subtitle track combo into the treeview list Each subtitle entry has its own combo to select the track now git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2433 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: give feedback indicating problems with subtitle selectionsjstebbins2009-05-201-6/+8
| | | | | | | | | - highlight subtitles that can not be encoded for some reason example: user adds several subtitles, then changes container from mkv to mp4 - validate subtitle list when adding to queue and show warning popup when there's a problem git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2432 b64f7644-9d1e-0410-96f1-a4d463321fa5
* mkv soft subtitle supportjstebbins2009-05-191-1/+63
| | | | | | | | | | | | | - new libmkv 0.6.4 with subtitle track support - muxmkv supports vobsub and closed caption subtitles - added subtitle format, source, and dest initialization to dvdnav - moved subtitle_force flag into hb_subtitle_t struct as it needs to be settable per subtitle - gtk ui added subtitle tab which allows selection of multiple subtitles - reorgainize subtitle sync code to prevent dropping of subtitles when multiple subtitles are enabled git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2428 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: jstebbins2009-05-021-1/+5
| | | | | | | | | | | poll for dvd volume labels after the ui is fully displayed truncate leading and trailing spaces in volume labels sanitize volume label after making a copy instead of stepping on dvdreads private copy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2370 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-04-171-3/+0
| | | | | | | | | - add volume label to dvd source shortcuts in the file menu - move loose crop option from preferences to picture settings - add label to show cropped dimensions to picture settings git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2337 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: merge gtk mingw cross compiling supportjstebbins2009-04-161-27/+69
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2332 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: first cut at anamorphic picture settings enhancementsjstebbins2009-04-131-0/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2325 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: customize hud colorsjstebbins2009-04-081-9/+23
| | | | | | uses standard rc-file mappings, so user can customize as well git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2313 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: create custom widget that manages multiple overlay layersjstebbins2009-04-081-33/+20
| | | | | | | composites the layers using per-pixel and global alpha values the preview hud now uses this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2312 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: figured out how to do the hud in a better way.jstebbins2009-04-061-28/+42
| | | | | | | window reparenting isn't needed now, and I can do alpha blending with the video through cairo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2304 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add fullscreen option to previewjstebbins2009-04-051-0/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2299 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-04-041-2/+4
| | | | | | | older version of libgtk don't have gtk_widget_get_window(), so use widget->window instead. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2298 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: preview and picture window changesjstebbins2009-04-041-0/+13
| | | | | | | | - split picture settings into it's own window - create overlay for preview window (like the mac ui, but not a pretty) - save window positions and preview display status between sessions git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2297 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Show notification when handbrake queue is completejstebbins2009-04-011-1/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2289 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: save preset folder collapsed/expanded state. restore at startup.jstebbins2009-03-261-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2275 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove debug outputjstebbins2009-03-251-3/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2274 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add preference option to disable update checkingjstebbins2009-03-251-1/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2273 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-03-041-3/+8
| | | | | | | add chapter duration display to chapter tab git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2216 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update log and about dialog with update version stringsjstebbins2009-03-021-1/+2
| | | | | | | also, make hb home web link on about dialog spawn a browser git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2193 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: clean up my improper use of HB_VERSION and HB_BUILD.jstebbins2009-02-271-2/+2
| | | | | | | | replace with hb_get_version and hb_get_build. this fixes a difficulty with compiling using KonaB1end's shiny new build system. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2177 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add single title scan option to file menujstebbins2009-02-141-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2163 b64f7644-9d1e-0410-96f1-a4d463321fa5