mirror of https://github.com/GNOME/gimp.git
plug-ins/common/raw.c plug-ins/gfig/gfig-dialog.c
2006-02-07 Sven Neumann <sven@gimp.org> * plug-ins/common/raw.c * plug-ins/gfig/gfig-dialog.c * plug-ins/helpbrowser/dialog.c * plug-ins/imagemap/imap_browse.c * plug-ins/print/gimp_main_window.c: use canonical signal names.
This commit is contained in:
parent
ef1c9dc840
commit
11c0aa9c0b
|
@ -1,3 +1,11 @@
|
|||
2006-02-07 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/raw.c
|
||||
* plug-ins/gfig/gfig-dialog.c
|
||||
* plug-ins/helpbrowser/dialog.c
|
||||
* plug-ins/imagemap/imap_browse.c
|
||||
* plug-ins/print/gimp_main_window.c: use canonical signal names.
|
||||
|
||||
2006-02-07 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/gimpdrawablepreview.[ch]
|
||||
|
|
|
@ -951,7 +951,7 @@ load_dialog (gchar *filename)
|
|||
gtk_container_add (GTK_CONTAINER (frame), preview);
|
||||
gtk_widget_show (preview);
|
||||
|
||||
g_signal_connect_after (preview, "size_allocate",
|
||||
g_signal_connect_after (preview, "size-allocate",
|
||||
G_CALLBACK (preview_update),
|
||||
NULL);
|
||||
|
||||
|
@ -1068,7 +1068,7 @@ load_dialog (gchar *filename)
|
|||
_("Pal_ette File:"), 0.0, 0.5,
|
||||
entry, 2, FALSE);
|
||||
|
||||
g_signal_connect (entry, "filename_changed",
|
||||
g_signal_connect (entry, "filename-changed",
|
||||
G_CALLBACK (palette_callback),
|
||||
preview);
|
||||
|
||||
|
|
|
@ -1411,10 +1411,10 @@ gfig_grid_action_callback (GtkAction *action,
|
|||
5, 360, 5, 1, 0,
|
||||
TRUE, 0, 0,
|
||||
NULL, NULL);
|
||||
g_signal_connect (sectors_data, "value_changed",
|
||||
g_signal_connect (sectors_data, "value-changed",
|
||||
G_CALLBACK (gimp_int_adjustment_update),
|
||||
&selvals.opts.grid_sectors_desired);
|
||||
g_signal_connect (sectors_data, "value_changed",
|
||||
g_signal_connect (sectors_data, "value-changed",
|
||||
G_CALLBACK (draw_grid_clear),
|
||||
NULL);
|
||||
|
||||
|
@ -1433,10 +1433,10 @@ gfig_grid_action_callback (GtkAction *action,
|
|||
5, 50, 5, 1, 0,
|
||||
TRUE, 0, 0,
|
||||
NULL, NULL);
|
||||
g_signal_connect (radius_data, "value_changed",
|
||||
g_signal_connect (radius_data, "value-changed",
|
||||
G_CALLBACK (gimp_double_adjustment_update),
|
||||
&selvals.opts.grid_radius_interval);
|
||||
g_signal_connect (radius_data, "value_changed",
|
||||
g_signal_connect (radius_data, "value-changed",
|
||||
G_CALLBACK (draw_grid_clear),
|
||||
NULL);
|
||||
|
||||
|
|
|
@ -251,7 +251,8 @@ browser_dialog_open (void)
|
|||
gtk_widget_show (drag_source);
|
||||
|
||||
gimp_help_set_help_data (drag_source,
|
||||
_("Drag and drop this icon to a web browser"), NULL);
|
||||
_("Drag and drop this icon to a web browser"),
|
||||
NULL);
|
||||
|
||||
gtk_drag_source_set (GTK_WIDGET (drag_source),
|
||||
GDK_BUTTON1_MASK,
|
||||
|
@ -259,10 +260,10 @@ browser_dialog_open (void)
|
|||
G_N_ELEMENTS (help_dnd_target_table),
|
||||
GDK_ACTION_COPY);
|
||||
|
||||
g_signal_connect (drag_source, "drag_begin",
|
||||
g_signal_connect (drag_source, "drag-begin",
|
||||
G_CALLBACK (drag_begin),
|
||||
NULL);
|
||||
g_signal_connect (drag_source, "drag_data_get",
|
||||
g_signal_connect (drag_source, "drag-data-get",
|
||||
G_CALLBACK (drag_data_get),
|
||||
NULL);
|
||||
|
||||
|
@ -320,13 +321,13 @@ browser_dialog_open (void)
|
|||
|
||||
html_view_set_document (HTML_VIEW (html), html_document_new ());
|
||||
|
||||
g_signal_connect (HTML_VIEW (html)->document, "title_changed",
|
||||
g_signal_connect (HTML_VIEW (html)->document, "title-changed",
|
||||
G_CALLBACK (title_changed),
|
||||
combo);
|
||||
g_signal_connect (HTML_VIEW (html)->document, "link_clicked",
|
||||
g_signal_connect (HTML_VIEW (html)->document, "link-clicked",
|
||||
G_CALLBACK (link_clicked),
|
||||
NULL);
|
||||
g_signal_connect (HTML_VIEW (html)->document, "request_url",
|
||||
g_signal_connect (HTML_VIEW (html)->document, "request-url",
|
||||
G_CALLBACK (request_url),
|
||||
NULL);
|
||||
|
||||
|
@ -461,31 +462,38 @@ ui_manager_new (GtkWidget *window)
|
|||
{
|
||||
static const GtkActionEntry actions[] =
|
||||
{
|
||||
{ "back", GTK_STOCK_GO_BACK,
|
||||
{
|
||||
"back", GTK_STOCK_GO_BACK,
|
||||
NULL, "<alt>Left", N_("Go back one page"),
|
||||
G_CALLBACK (back_callback)
|
||||
},
|
||||
{ "forward", GTK_STOCK_GO_FORWARD,
|
||||
{
|
||||
"forward", GTK_STOCK_GO_FORWARD,
|
||||
NULL, "<alt>Right", N_("Go forward one page"),
|
||||
G_CALLBACK (forward_callback)
|
||||
},
|
||||
{ "index", GTK_STOCK_INDEX,
|
||||
{
|
||||
"index", GTK_STOCK_INDEX,
|
||||
NULL, "<alt>Home", N_("Go to the index page"),
|
||||
G_CALLBACK (index_callback)
|
||||
},
|
||||
{ "zoom-in", GTK_STOCK_ZOOM_IN,
|
||||
{
|
||||
"zoom-in", GTK_STOCK_ZOOM_IN,
|
||||
NULL, "<control>plus", NULL,
|
||||
G_CALLBACK (zoom_in_callback)
|
||||
},
|
||||
{ "zoom-out", GTK_STOCK_ZOOM_OUT,
|
||||
{
|
||||
"zoom-out", GTK_STOCK_ZOOM_OUT,
|
||||
NULL, "<control>minus", NULL,
|
||||
G_CALLBACK (zoom_out_callback)
|
||||
},
|
||||
{ "close", GTK_STOCK_CLOSE,
|
||||
{
|
||||
"close", GTK_STOCK_CLOSE,
|
||||
NULL, "<control>W", NULL,
|
||||
G_CALLBACK (close_callback)
|
||||
},
|
||||
{ "quit", GTK_STOCK_QUIT,
|
||||
{
|
||||
"quit", GTK_STOCK_QUIT,
|
||||
NULL, "<control>Q", NULL,
|
||||
G_CALLBACK (close_callback)
|
||||
}
|
||||
|
|
|
@ -130,7 +130,7 @@ browse_widget_new (const gchar *name)
|
|||
gtk_box_pack_start (GTK_BOX(browse->hbox), browse->file, TRUE, TRUE, 0);
|
||||
gtk_drag_dest_set (browse->file, GTK_DEST_DEFAULT_ALL, target_table,
|
||||
2, GDK_ACTION_COPY);
|
||||
g_signal_connect (browse->file, "drag_data_received",
|
||||
g_signal_connect (browse->file, "drag-data-received",
|
||||
G_CALLBACK(handle_drop), NULL);
|
||||
|
||||
gtk_widget_show (browse->file);
|
||||
|
|
|
@ -454,7 +454,7 @@ create_edit_area_info_dialog(Object_t *obj)
|
|||
default_dialog_set_cancel_cb(data->dialog, edit_area_cancel_cb, data);
|
||||
|
||||
data->notebook = notebook = gtk_notebook_new();
|
||||
g_signal_connect_after(notebook, "switch_page",
|
||||
g_signal_connect_after(notebook, "switch-page",
|
||||
G_CALLBACK(switch_page), (gpointer) data);
|
||||
|
||||
gtk_box_pack_start(GTK_BOX(data->dialog->vbox), notebook, TRUE, TRUE, 0);
|
||||
|
|
|
@ -708,7 +708,7 @@ create_printer_dialog (void)
|
|||
gtk_container_add (GTK_CONTAINER (printer_crawler), printer_driver);
|
||||
gtk_widget_show (printer_driver);
|
||||
|
||||
g_signal_connect (printer_driver, "select_row",
|
||||
g_signal_connect (printer_driver, "select-row",
|
||||
G_CALLBACK (gimp_print_driver_callback),
|
||||
NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue