aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/color_edit_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-636/+0
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518
2011-08-17Fix a typo and size_request.Anders Broman1-2/+2
svn path=/trunk/; revision=38577
2011-08-17Get further with compiling with GTK 3.0Anders Broman1-5/+56
(No functional testing done yet) svn path=/trunk/; revision=38576
2011-08-17Get rid of get_color() it looks like we do not need allocated collors.Anders Broman1-1/+4
The code is #if 0:ed out in case there is any ill side effects. svn path=/trunk/; revision=38574
2011-07-21Create a file containing macros to provide the access-functionsJörg Mayer1-8/+1
when the gtk version is too old (for the 2,14,0 case). Remove all old access methods that were guarded by 2,14,0 tests. Feel free to do the same for newer guards :-) svn path=/trunk/; revision=38147
2011-07-11Remaining GLIB_CHECK_VERSION and GTK_CHECK_VERSION in the gtk directory.Gerald Combs1-35/+0
svn path=/trunk/; revision=37973
2011-06-20GTK3 fixes:Jörg Mayer1-2/+2
- Replace 2 cases where GtkObject was used (no longer exists in GTK3) - Whenever gdkkeysyms.h is included also include gdkkeysyms-compat.h iff we are building against gtk3 svn path=/trunk/; revision=37722
2011-02-16More cleanup toward being able to compile with GTK+ 3.0. Mostly replacingStephen Fisher1-4/+35
deprecated GtkToolTips with new functions. svn path=/trunk/; revision=35966
2011-02-07Fix crash introduced in r35849Stephen Fisher1-3/+3
svn path=/trunk/; revision=35851
2011-02-07And even more -DGSEAL_ENABLE cleanup for GTK+ 3.0 preparation...Stephen Fisher1-7/+20
svn path=/trunk/; revision=35849
2011-01-29Improve r35695/35696 by repeating the whole function call in eachStephen Fisher1-4/+2
block of the #if / #else / #endif for clarity. svn path=/trunk/; revision=35697
2011-01-29Fix Windows compile error(s);Bill Meier1-4/+4
{Compiles OK on Windows but not tested). svn path=/trunk/; revision=35696
2011-01-29If we're compiling with GTK+ 2.14 or higher, use accessor functionStephen Fisher1-0/+4
gtk_color_selection_dialog_get_color_selection() instead of accessing the struct member directly. svn path=/trunk/; revision=35695
2010-10-12Minor cleanup of the global name space:Bill Meier1-252/+253
- Define some vars as static; - Rename some externs to be less generic; Also: cleanup some whitespace. svn path=/trunk/; revision=34489
2010-08-23(Trivial/Cosmetic) Fix signatures of some signal callback functions;Bill Meier1-1/+1
Also:Add some missing G_CALLBACKs (even in commented out code) svn path=/trunk/; revision=33890
2010-08-17Minor changes related to signal callback functions:Bill Meier1-1/+1
- all: filter_te_syntax_check_cb should have an (unused) 'gpointer user_data' arg; - filter_dlg.c: filter_sel_list_cb user_data arg is unused; svn path=/trunk/; revision=33828
2010-01-29Fix various gcc -Wshadow warnings.Bill Meier1-1/+1
svn path=/trunk/; revision=31730
2009-11-10Removed some unused variables and unused assignments.Stig Bjørlykke1-3/+2
svn path=/trunk/; revision=30918
2009-03-19As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a ↵Bill Meier1-2/+2
numeric constant in various places; svn path=/trunk/; revision=27800
2009-03-13From Jakub Zawadzki (bug 3331):Stig Bjørlykke1-4/+4
g_free() is NULL safe, so we don't need check against it. svn path=/trunk/; revision=27718
2008-10-19Add filter autocomplete for filter in color edit dialog.Stig Bjørlykke1-0/+4
svn path=/trunk/; revision=26494
2008-10-12Rewrote to use gtk_widget_modify_text() and gtk_widget_modify_base()Stig Bjørlykke1-14/+8
to change the background color for filter text edit boxes, because gtk_widget_set_style() interacts badly with themes. Go back to default values when filter is empty (instead of white). Also rewrote the same in the "Edit Color Filter" dialog. svn path=/trunk/; revision=26421
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-1/+1
equivalent API gtk_container_border_width() ==> gtk_container_set_border_width() gtk_container_children() ==> gtk_container_get_children() gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length() gtk_menu_append() ==> gtk_menu_shell_append() gtk_menu_prepend() ==> gtk_menu_shell_prepend() gtk_notebook_set_page() ==> gtk_notebook_set_current_page() gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size() gtk_radio_button_group() ==> gtk_radio_button_get_group() gtk_signal_connect() ==> g_signal_connect() gtk_signal_disconnect() ==> g_signal_handler_disconnect() gtk_signal_emit_by_name() ==> g_signal_emit_by_name() gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched() gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func() gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched() gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func() gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value() gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active() svn path=/trunk/; revision=25634
2008-04-14From Jim Young (bug 2212):Sake Blok1-1/+1
Add the profile name to the title of all the configuration windows. (this is a rewrite of Jim's patch) svn path=/trunk/; revision=25016
2008-04-13move all code from color.c into color_utils.cUlf Lamping1-1/+1
remove color.c rename colors.h into color_utils.h (hopefully this reduces confusion to /color.h) svn path=/trunk/; revision=24974
2008-04-13sort #includes by directoriesUlf Lamping1-12/+13
svn path=/trunk/; revision=24967
2008-04-12move stock icon code from toolbar.c into specific stock_icons file(s)Ulf Lamping1-1/+1
svn path=/trunk/; revision=24921
2008-04-11second round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-1/+1
This requires some casts to be added and I just don't want to add casts at all possible places. So I compile and only add casts where the (MSVC) compiler has a hard time. Unfortunately this won't find any problems in Linux/Unix only code - I'll keep an eye on the buildbot and try to fix things as I'm going on ... svn path=/trunk/; revision=24913
2008-04-11first round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-11/+11
This requires some casts to be added and I just don't want to add casts at all possible places. So I compile and only add casts where the (MSVC) compiler has a hard time. Unfortunately this won't find any problems in Linux/Unix only code - I'll keep an eye on the buildbot and try to fix things as I'm going on ... svn path=/trunk/; revision=24912
2008-04-11replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's ↵Ulf Lamping1-1/+1
gtk_button_new_from_stock svn path=/trunk/; revision=24904
2008-04-11OBECT_..._DATA --> g_object_..._dataBill Meier1-37/+37
svn path=/trunk/; revision=24893
2008-04-06remove GTK1 codeUlf Lamping1-72/+0
svn path=/trunk/; revision=24813
2007-11-18Fix bug #1164 again - this time for GTK1.Stephen Fisher1-0/+4
svn path=/trunk/; revision=23482
2007-11-10This patch makes it possible to disable individual coloring rules Sake Blok1-7/+59
without having to delete them. The patch has been tested on Fedora-7 with GTK+ 1.2.10 and GTK+ 2.10.11. Since I don't know how to use "strikethrough" in clists in GTK1 there is a little difference in how the disabled coloring rules are displayed. In GTK2 they are striked through and in GTK1 they are shown in lightgrey on a white background. Any info on how to use strikthrough in clists within GTK1 is more than welcome :-) svn path=/trunk/; revision=23421
2007-09-25In newer versions of GTK+ 2.x, if you have the mouse positioned above aGerald Combs1-9/+3
button that goes from insensitive to sensitive, the button won't respond to mouse clicks. This caused the Coloring Rules dialog behavior reported in bug 699. Work around it by not making the up/down buttons insensitive while we're moving a rule. Fixup whitespace. svn path=/trunk/; revision=22946
2007-09-24Fix bug #1457: Undersized array causing "smashed stack".Bill Meier1-1/+1
svn path=/trunk/; revision=22942
2007-09-10Fix bug in View ! Color Filter ! New ! (Fore|Back)ground Color & etc code Bill Meier1-1/+4
which resulted in a GtkCritcal msg and in disabling the "(Fore|Back)ground Color" button when esc used to close the widget. svn path=/trunk/; revision=22840
2006-10-30Fix for bug 1164 from Stephen Fisher: In the coloring rules edit dialog, setGerald Combs1-19/+1
the foreground color correctly. svn path=/trunk/; revision=19740
2006-10-19From Stephen Fisher:Jaap Keuter1-2/+1
Attached is a patch to fix bug #1165. To summarize: "if you click on the button to change the background color and hit ok, it changes not only the name field but also the string field's color away from the red/green [syntax check]." svn path=/trunk/; revision=19619
2006-10-14as Stephen Fisher noted: fix the files header commentUlf Lamping1-2/+2
svn path=/trunk/; revision=19520
2006-10-10Include <string.h> to declare string functions we use.Guy Harris1-0/+2
svn path=/trunk/; revision=19477
2006-10-02various (huge) code cleanup incl. splitting of the coloring dialog and the ↵Ulf Lamping1-0/+615
actual color rule edit dialog into two files - this makes the things much more clearer now (at least for me) svn path=/trunk/; revision=19392