mirror of https://github.com/GNOME/gimp.git
set the accelerators for the "Open Recent" items > 10 to "" instead of
2001-11-29 Michael Natterer <mitch@gimp.org> * app/gui/menus.c: set the accelerators for the "Open Recent" items > 10 to "" instead of NULL so gtk+ doesn't use the stock item's default accel. * app/widgets/gimpdock.c * app/widgets/gimpimagedock.c: set the docks' titles to "Gimp Dock #<n>" instead of just "Gimp" so they can be distinguished in the WM's window list or dock or whatever.
This commit is contained in:
parent
b017fa1538
commit
34aefd3e46
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2001-11-29 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/gui/menus.c: set the accelerators for the "Open Recent"
|
||||
items > 10 to "" instead of NULL so gtk+ doesn't use the stock
|
||||
item's default accel.
|
||||
|
||||
* app/widgets/gimpdock.c
|
||||
* app/widgets/gimpimagedock.c: set the docks' titles to
|
||||
"Gimp Dock #<n>" instead of just "Gimp" so they can be
|
||||
distinguished in the WM's window list or dock or whatever.
|
||||
|
||||
2001-11-29 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/gui/menus.c: put the last_opened menu entries in a
|
||||
|
@ -224,7 +235,7 @@
|
|||
items to the name of the last plug-in (Fixes #50986).
|
||||
|
||||
* app/display/gimpdisplayshell.[ch]: set the labels of "Undo" and
|
||||
"Redo" to the resp. undo names. Much simplified the WM icon stuff
|
||||
"Redo" to the resp. undo names. Much simplified the WM-icon stuff
|
||||
by removing most code and using gimp_viewable_get_new_preview_pixbuf().
|
||||
|
||||
* app/widgets/gimpbrushfactoryview.c: forgot to assign the GQuark
|
||||
|
|
|
@ -1788,7 +1788,7 @@ menus_init (Gimp *gimp)
|
|||
last_opened_entries[i].entry.accelerator =
|
||||
g_strdup_printf ("<control>%d", i + 1);
|
||||
else
|
||||
last_opened_entries[i].entry.accelerator = NULL;
|
||||
last_opened_entries[i].entry.accelerator = "";
|
||||
|
||||
last_opened_entries[i].entry.callback = file_last_opened_cmd_callback;
|
||||
last_opened_entries[i].entry.callback_action = i;
|
||||
|
|
|
@ -1788,7 +1788,7 @@ menus_init (Gimp *gimp)
|
|||
last_opened_entries[i].entry.accelerator =
|
||||
g_strdup_printf ("<control>%d", i + 1);
|
||||
else
|
||||
last_opened_entries[i].entry.accelerator = NULL;
|
||||
last_opened_entries[i].entry.accelerator = "";
|
||||
|
||||
last_opened_entries[i].entry.callback = file_last_opened_cmd_callback;
|
||||
last_opened_entries[i].entry.callback_action = i;
|
||||
|
|
|
@ -137,7 +137,6 @@ gimp_dock_init (GimpDock *dock)
|
|||
|
||||
dock->context = NULL;
|
||||
|
||||
gtk_window_set_title (GTK_WINDOW (dock), "Gimp");
|
||||
gtk_window_set_wmclass (GTK_WINDOW (dock), "dock", "Gimp");
|
||||
gtk_window_set_policy (GTK_WINDOW (dock), FALSE, TRUE, TRUE);
|
||||
|
||||
|
|
|
@ -163,12 +163,19 @@ gimp_image_dock_new (GimpDialogFactory *factory,
|
|||
{
|
||||
GimpImageDock *image_dock;
|
||||
GimpDock *dock;
|
||||
gchar *title;
|
||||
|
||||
static gint dock_counter = 1;
|
||||
|
||||
g_return_val_if_fail (GIMP_IS_DIALOG_FACTORY (factory), NULL);
|
||||
g_return_val_if_fail (GIMP_IS_CONTAINER (image_container), NULL);
|
||||
|
||||
image_dock = g_object_new (GIMP_TYPE_IMAGE_DOCK, NULL);
|
||||
|
||||
title = g_strdup_printf (_("Gimp Dock #%d"), dock_counter++);
|
||||
gtk_window_set_title (GTK_WINDOW (image_dock), title);
|
||||
g_free (title);
|
||||
|
||||
dock = GIMP_DOCK (image_dock);
|
||||
|
||||
image_dock->image_container = image_container;
|
||||
|
|
|
@ -163,12 +163,19 @@ gimp_image_dock_new (GimpDialogFactory *factory,
|
|||
{
|
||||
GimpImageDock *image_dock;
|
||||
GimpDock *dock;
|
||||
gchar *title;
|
||||
|
||||
static gint dock_counter = 1;
|
||||
|
||||
g_return_val_if_fail (GIMP_IS_DIALOG_FACTORY (factory), NULL);
|
||||
g_return_val_if_fail (GIMP_IS_CONTAINER (image_container), NULL);
|
||||
|
||||
image_dock = g_object_new (GIMP_TYPE_IMAGE_DOCK, NULL);
|
||||
|
||||
title = g_strdup_printf (_("Gimp Dock #%d"), dock_counter++);
|
||||
gtk_window_set_title (GTK_WINDOW (image_dock), title);
|
||||
g_free (title);
|
||||
|
||||
dock = GIMP_DOCK (image_dock);
|
||||
|
||||
image_dock->image_container = image_container;
|
||||
|
|
Loading…
Reference in New Issue