mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
Compare commits
2 Commits
4d5519b42d
...
c21e1c1c6a
Author | SHA1 | Date | |
---|---|---|---|
|
c21e1c1c6a | ||
|
92e0e22e8b |
@@ -1198,6 +1198,7 @@ clapper_app_window_init (ClapperAppWindow *self)
|
|||||||
GtkSettings *settings;
|
GtkSettings *settings;
|
||||||
GtkWidget *dummy_titlebar;
|
GtkWidget *dummy_titlebar;
|
||||||
gint distance = 0;
|
gint distance = 0;
|
||||||
|
GtkWindowGroup *group;
|
||||||
|
|
||||||
gtk_widget_set_size_request (GTK_WIDGET (self),
|
gtk_widget_set_size_request (GTK_WIDGET (self),
|
||||||
MIN_WINDOW_WIDTH, MIN_WINDOW_HEIGHT);
|
MIN_WINDOW_WIDTH, MIN_WINDOW_HEIGHT);
|
||||||
@@ -1229,6 +1230,11 @@ clapper_app_window_init (ClapperAppWindow *self)
|
|||||||
|
|
||||||
gtk_drop_target_set_gtypes (self->drop_target,
|
gtk_drop_target_set_gtypes (self->drop_target,
|
||||||
(GType[3]) { GDK_TYPE_FILE_LIST, G_TYPE_FILE, G_TYPE_STRING }, 3);
|
(GType[3]) { GDK_TYPE_FILE_LIST, G_TYPE_FILE, G_TYPE_STRING }, 3);
|
||||||
|
|
||||||
|
/* Add to window group */
|
||||||
|
group = gtk_window_group_new ();
|
||||||
|
gtk_window_group_add_window (group, GTK_WINDOW (self));
|
||||||
|
g_object_unref (group);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user