ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Глючок в xmms
@ 2002-02-19 16:58 Alexey Morozov
  2002-02-19 17:21 ` [sisyphus] " Michael Shigorin
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Morozov @ 2002-02-19 16:58 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

Надеюсь, меня не попрут отсюда за маленький патчик к xmms. Без него
функция выбора файлов, вообще говоря, некорректна, что и проявляется при
использовании нестандартного диалога выбора файлов (xmms падает в кору).

Кстати, вопросец: а почему бы не включить GTK'шный advanced file
selector в Sisyphus? Кроме явно некорректного xmms'а (правда,
корректность моего патчика - тоже вопрос), никаких проблем не замечено,
чес-слово :-)



[-- Attachment #2: xmms-1.2.6-filebrowser_get_files.patch --]
[-- Type: text/x-patch, Size: 691 bytes --]

diff -urN xmms-1.2.6.orig/xmms/util.c xmms-1.2.6/xmms/util.c
--- xmms-1.2.6.orig/xmms/util.c	Tue Jan  8 21:59:19 2002
+++ xmms-1.2.6/xmms/util.c	Tue Feb 19 22:27:24 2002
@@ -698,9 +698,13 @@
 	/*
 	 * There got to be some clean way to do this too
 	 */
-	gtk_label_get(GTK_LABEL(GTK_BIN(filesel->history_pulldown)->child), &ptr);
+	ptr = gtk_file_selection_get_filename(filesel);
+	g_return_if_fail(ptr != NULL);
+	ptr = g_dirname(ptr);
+	g_return_if_fail(ptr != NULL);
 	/* This will give an extra slash if the current dir is the root. */
 	cfg.filesel_path = g_strconcat(ptr, "/", NULL);
+	g_free(ptr);
 
 	node = GTK_CLIST(filesel->file_list)->selection;
 	while (node)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [sisyphus] Re: Глючок в xmms
  2002-02-19 16:58 [sisyphus] Глючок в xmms Alexey Morozov
@ 2002-02-19 17:21 ` Michael Shigorin
  2002-02-19 17:54   ` Alexey Morozov
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Shigorin @ 2002-02-19 17:21 UTC (permalink / raw)
  To: sisyphus

On Tue, Feb 19, 2002 at 10:58:02PM +0600, Alexey Morozov wrote:
> Кстати, вопросец: а почему бы не включить GTK'шный advanced file
> selector в Sisyphus? Кроме явно некорректного xmms'а (правда,
Это тот немецкий, который именно под xmms заточен или я опять
что-то проспал?

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ http://visa.chem.univ.kiev.ua/~mike/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sisyphus] Re: Глючок в xmms
  2002-02-19 17:21 ` [sisyphus] " Michael Shigorin
@ 2002-02-19 17:54   ` Alexey Morozov
  0 siblings, 0 replies; 3+ messages in thread
From: Alexey Morozov @ 2002-02-19 17:54 UTC (permalink / raw)
  To: sisyphus

On Втр, 2002-02-19 at 23:21, Michael Shigorin wrote:
> On Tue, Feb 19, 2002 at 10:58:02PM +0600, Alexey Morozov wrote:
> > Кстати, вопросец: а почему бы не включить GTK'шный advanced file
> > selector в Sisyphus? Кроме явно некорректного xmms'а (правда,
> Это тот немецкий, который именно под xmms заточен или я опять
> что-то проспал?
Э-э-э, пожалуй, проспали.
http://students.cs.byu.edu/~torriem/gtk/
Правда, скорее всего, я подпачивал до 1.2.10 слегка...
Во всяком случае, на gtk+-1.2.10-alt2 оно ложится превосходно.

В принципе, если нужно, могу продемонстрировать, как это выглядит у меня
с гимпом и прочими...

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-19 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-19 16:58 [sisyphus] Глючок в xmms Alexey Morozov
2002-02-19 17:21 ` [sisyphus] " Michael Shigorin
2002-02-19 17:54   ` Alexey Morozov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git